package com.ms.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class MusicUpdateDTO {
    @NotNull(message = "音乐ID不能为空")
    private Integer id;

    @NotBlank(message = "音乐标题不能为空")
    @Size(max = 100, message = "标题长度不能超过100字符")
    private String title;

    @Size(max = 500, message = "描述长度不能超过500字符")
    private String description;

    private String creatorIds;

    private Integer genreId;

    private Integer albumId;
}
